package com.demo.woziqi.entity;

/**
 * @Author 宋明松
 * @Version V1.0.0
 * @Date 2022-05-31
 * 用户实体类
 */
public class User {
    private   String username;// 保存登录的用户
    private  int id;
    private  String regtime;
    private  int win_count;
    private  int lose_count;
    private  int draw_count;
    private  int all_count;
    private  int integral;
    private  String pwd;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRegtime() {
        return regtime;
    }

    public void setRegtime(String regtime) {
        this.regtime = regtime;
    }

    public int getWin_count() {
        return win_count;
    }

    public void setWin_count(int win_count) {
        this.win_count = win_count;
    }

    public int getLose_count() {
        return lose_count;
    }

    public void setLose_count(int lose_count) {
        this.lose_count = lose_count;
    }

    public int getDraw_count() {
        return draw_count;
    }

    public void setDraw_count(int draw_count) {
        this.draw_count = draw_count;
    }

    public int getAll_count() {
        return all_count;
    }

    public void setAll_count(int all_count) {
        this.all_count = all_count;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", id=" + id +
                ", regtime='" + regtime + '\'' +
                ", win_count=" + win_count +
                ", lose_count=" + lose_count +
                ", draw_count=" + draw_count +
                ", all_count=" + all_count +
                ", integral=" + integral +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
